package com.qinge.blog.service;

import com.qinge.blog.vo.file.UploadReqVO;
import com.qinge.blog.vo.file.UploadRespVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author QDW
 * @date 2022/5/15 14:31
 * @description 上传服务
 **/
public interface BlogUploadService {

    UploadRespVO upload(UploadReqVO reqDTO);

    /**
     * 下载文件
     * @param request
     * @param response
     */
    void download(HttpServletRequest request, HttpServletResponse response);
}
